package pl.kaczmarz.audiosteganography;

/**
 *
 * @author Pawel
 */
public class UnsupportedWaveFormatException extends Exception {

	private int formatTag;

	public int getFormatTag() {
		return formatTag;
	}

	public UnsupportedWaveFormatException(int formatTag) {
		this.formatTag = formatTag;
	}

	@Override
	public String getMessage() {
		return "Unsupported wave format " + WaveFormatTag.stringValue(getFormatTag());
	}
}
